package com.hkx.ioc.demo.domain;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/* 使用 lombok  的步骤
    1. idea 装lombok 插件:  file --> setting ---> plugins  -->  搜索lombok
    2. maven pom.xml 加入依赖
    <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <version>1.16.14</version>
    </dependency>

*/
@Data
@Accessors(chain = true)
public class Teacher {
    private Integer id;
    private String name;
    private String major;
    private String empNo;
    private boolean sex;
    private ClassMonitor classMonitor;

}
